<?php

declare (strict_types=1);

namespace app\common\model;

use think\Model;

class Admin extends Model
{

    // 账号状态
    const STATUS_ENABLE = 0; // 启用
    const STATUS_DISABLE = 1; // 禁用

    // 设置字段信息
    protected $schema = [
        'id' => 'int',
        'token' => 'string',
        'account' => 'string',
        'nick_name' => 'float',
        'password' => 'string',
        'avatar' => 'float',
        'password' => 'string',
        'status' => 'int',
        'update_time' => 'datetime',
    ];

}
